package com.bdb.myswipemultitype.bean;

import android.support.annotation.NonNull;

import com.bdb.myswipemultitype.R;
import com.xiaoq.base.widget.recyclerview.adapter.MyItemViewProvider;
import com.xiaoq.base.widget.recyclerview.adapter.ViewHolder;

/**
 * Created by zinc on 2017/5/15.
 */

public class ItemNoProvider extends MyItemViewProvider<ItemNoBean> {

    @Override
    protected int getItemLayoutId() {
        return R.layout.view_list_item;
    }

    @Override
    protected void onBindViewHolder(@NonNull ViewHolder holder, @NonNull ItemNoBean itemNoBean) {

        holder.setText(R.id.text_data, itemNoBean.getName());

    }
}
